Newer
Older
Import / applications / RocketMan / Source Code / PointF.h
@John John on 29 Dec 2020 430 bytes bulk import from macbookpro checkouts
/*
 *  PointF.h
 *  iphone-gl-app
 *
 *  Created by John Ryland on 16/06/09.
 *  Copyright 2009 InvertedLogic. All rights reserved.
 *
 */

#ifndef POINTF_H
#define POINTF_H


class PointF
{
public:
	PointF();
	PointF(float x, float y);
	void translate(float x, float y);
	void translate(PointF t);
	void rotate(float r);
	void scale(float s);
	void scale(float x, float y);
//private:
	float x;
	float y;
};


#endif // POINTF_H